const Response = require('node-spider').Response;
const Request = require('node-spider').Request;
let Spider = require('node-spider').Spider;

module.exports.Spider = class extends Spider{
    constructor(){
        super();
        this.urls=[];
    }
    //yield关键字返回数据或者新的请求
    *parse(response){
        console.log("start");
    }

}